-
-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(types): add missing shared types #3212
Conversation
commit: |
types
to subpackage exports using module
dts
SB reproduction updated to use relative paths in nuxt config file (we cannot use nuxt aliases): registering also |
If we're also running |
π
I'll check replacing the scripts |
π Linked issue
resolves #3201
β Type of change
π Description
Nuxt module builder generating module types in types dts (node and some runtime hooks types), we use it in the default package export, but internal types created in module dts, this PR just adds a new subpackage export./types
usingmodule.d.mts
with the types only and also including the subpackage insidetypesVersions
to include node10 consumers.This PR includes:
src/types.ts
to the build config file to add shared types to thetypes
dtstsc --noEmit
)This PR also changes the default subpackage export to use
default
insteadimport
(ESM only).π Checklist